<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
<head>
    <!-- 加载部部样式及META信息 -->
    <title>管理员</title>
    <div th:replace="common/meta"></div>
    <script>
        require.config.jsname = "backend/ayi/index";
        require.config.modulename = "admin"
        require.config.controllername = "auth.admin"
        require.config.actionname = "admin"
        require.config.moduleurl = "/admin/add"
    </script>
</head>
<body class="inside-header inside-aside is-dialog">
<div id="main" role="main">
    <div class="tab-content tab-addtabs">
        <div id="content">
            <div class="row">
                <div class="col-xs-12 col-sm-12 col-md-12 col-lg-12">
                    <div class="content">
                        <form id="add-form" class="form-horizontal form-ajax" role="form" data-toggle="validator"
                              method="POST" action="/sys/ayi/save">
                            <input type="hidden" name="id" th:value="${ayi.id}">
                            <div class="form-group">
                                <label for="show_style"
                                       class="control-label col-xs-12 col-sm-2">展示风格:</label>
                                <div class="col-xs-12 col-sm-8">
                                    <input type="text" class="form-control" id="show_style" name="show_style"
                                           th:value="${ayi.show_style}"
                                           data-rule="required"/>
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="zi_wo_jie_shao"
                                       class="control-label col-xs-12 col-sm-2">自我介绍:</label>
                                <div class="col-xs-12 col-sm-8">
                                    <input type="text" class="form-control" id="zi_wo_jie_shao" name="zi_wo_jie_shao"
                                           th:value="${ayi.zi_wo_jie_shao}"
                                           data-rule="required"/>
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="ping_jia"
                                       class="control-label col-xs-12 col-sm-2">评价得分:</label>
                                <div class="col-xs-12 col-sm-8">
                                    <input type="text" class="form-control" id="ping_jia" name="ping_jia"
                                           th:value="${ayi.ping_jia}"
                                           data-rule="required"/>
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="mi_count"
                                       class="control-label col-xs-12 col-sm-2">浏览量:</label>
                                <div class="col-xs-12 col-sm-8">
                                    <input type="text" class="form-control" id="mi_count" name="mi_count"
                                           th:value="${ayi.mi_count}"
                                           data-rule="required"/>
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="leibie_id"
                                       class="control-label col-xs-12 col-sm-2">类别ID:</label>
                                <div class="col-xs-12 col-sm-8">
                                    <input type="text" class="form-control" id="leibie_id" name="leibie_id"
                                           th:value="${ayi.leibie_id}"
                                           data-rule="required"/>
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="no"
                                       class="control-label col-xs-12 col-sm-2">编号:</label>
                                <div class="col-xs-12 col-sm-8">
                                    <input type="text" class="form-control" id="no" name="no"
                                           th:value="${ayi.no}"
                                           data-rule="required"/>
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="name"
                                       class="control-label col-xs-12 col-sm-2">学历:</label>
                                <div class="col-xs-12 col-sm-8">
                                    <input type="text" class="form-control" id="name" name="name"
                                           th:value="${ayi.name}"
                                           data-rule="required"/>
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="shengri"
                                       class="control-label col-xs-12 col-sm-2">生日:</label>
                                <div class="col-xs-12 col-sm-8">
                                    <input type="text" class="form-control" id="shengri" name="shengri"
                                           th:value="${ayi.shengri}"
                                           data-rule="required"/>
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="sex"
                                       class="control-label col-xs-12 col-sm-2">性别:</label>
                                <div class="col-xs-12 col-sm-8">
                                    <input type="text" class="form-control" id="sex" name="sex"
                                           th:value="${ayi.sex}"
                                           data-rule="required"/>
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="jiguan"
                                       class="control-label col-xs-12 col-sm-2">籍贯:</label>
                                <div class="col-xs-12 col-sm-8">
                                    <input type="text" class="form-control" id="jiguan" name="jiguan"
                                           th:value="${ayi.jiguan}"
                                           data-rule="required"/>
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="wenhuachengdu"
                                       class="control-label col-xs-12 col-sm-2">文化程度:</label>
                                <div class="col-xs-12 col-sm-8">
                                    <input type="text" class="form-control" id="wenhuachengdu" name="wenhuachengdu"
                                           th:value="${ayi.wenhuachengdu}"
                                           data-rule="required"/>
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="congyeshijian"
                                       class="control-label col-xs-12 col-sm-2">从业时间:</label>
                                <div class="col-xs-12 col-sm-8">
                                    <input type="text" class="form-control" id="congyeshijian" name="congyeshijian"
                                           th:value="${ayi.congyeshijian}"
                                           data-rule="required"/>
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="shengao"
                                       class="control-label col-xs-12 col-sm-2">身高:</label>
                                <div class="col-xs-12 col-sm-8">
                                    <input type="text" class="form-control" id="shengao" name="shengao"
                                           th:value="${ayi.shengao}"
                                           data-rule="required"/>
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="jiehun"
                                       class="control-label col-xs-12 col-sm-2">婚姻状况:</label>
                                <div class="col-xs-12 col-sm-8">
                                    <input type="text" class="form-control" id="jiehun" name="jiehun"
                                           th:value="${ayi.jiehun}"
                                           data-rule="required"/>
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="jiankangzhuangkuang"
                                       class="control-label col-xs-12 col-sm-2">健康状况:</label>
                                <div class="col-xs-12 col-sm-8">
                                    <input type="text" class="form-control" id="jiankangzhuangkuang" name="jiankangzhuangkuang"
                                           th:value="${ayi.jiankangzhuangkuang}"
                                           data-rule="required"/>
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="uptime"
                                       class="control-label col-xs-12 col-sm-2">上传时间:</label>
                                <div class="col-xs-12 col-sm-8">
                                    <input type="text" class="form-control" id="uptime" name="uptime"
                                           th:value="${ayi.uptime}"
                                           data-rule="required"/>
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="ayiname"
                                       class="control-label col-xs-12 col-sm-2">阿姨名字:</label>
                                <div class="col-xs-12 col-sm-8">
                                    <input type="text" class="form-control" id="ayiname" name="ayiname"
                                           th:value="${ayi.ayiname}"
                                           data-rule="required"/>
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="c-image" class="control-label col-xs-12 col-sm-2">图片:</label>
                                <div class="col-xs-12 col-sm-8">
                                    <div class="form-inline">
                                        <input id="c-image" th:value="${ayi.touxiang}" data-rule="required" class="form-control" size="50" name="touxiang" type="text" value="">
                                        <span><button type="button" id="plupload-image" class="btn btn-danger plupload" data-input-id="c-image" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp" data-multiple="false" data-preview-id="p-image"><i class="fa fa-upload"></i> 上传</button></span>
                                        <!--<span><button type="button" id="fachoose-image" class="btn btn-primary fachoose" data-input-id="c-image" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> 选择</button></span>-->
                                        <ul class="row list-inline plupload-preview" id="p-image"></ul>
                                    </div>
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="shengxiao"
                                       class="control-label col-xs-12 col-sm-2">生肖:</label>
                                <div class="col-xs-12 col-sm-8">
                                    <input type="text" class="form-control" id="shengxiao" name="shengxiao"
                                           th:value="${ayi.shengxiao}"
                                           data-rule="required"/>
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="c-flag" class="control-label col-xs-12 col-sm-2">技能标签(多选):</label>
                                <div class="col-xs-12 col-sm-8">

                                    <select value="${ayi.skill}" id="c-flag" data-rule="required" class="form-control selectpicker" data-live-search="true" multiple="" name="skill">
                                        <option value="洗衣">洗衣</option>
                                        <option value="做饭">做饭</option>
                                        <option value="喂猪">喂猪</option>
                                    </select>

                                </div>
                            </div>
                            <div class="form-group">
                                <label for="birthday"
                                       class="control-label col-xs-12 col-sm-2">生日:</label>
                                <div class="col-xs-12 col-sm-8">
                                    <input type="text" class="form-control" id="birthday" name="birthday"
                                           th:value="${ayi.birthday}"
                                           data-rule="required"/>
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="xinzuo"
                                       class="control-label col-xs-12 col-sm-2">星座:</label>
                                <div class="col-xs-12 col-sm-8">
                                    <input type="text" class="form-control" id="xinzuo" name="xinzuo"
                                           th:value="${ayi.xinzuo}"
                                           data-rule="required"/>
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="c-images" class="control-label col-xs-12 col-sm-2">图片组:</label>
                                <div class="col-xs-12 col-sm-8">
                                    <div class="form-inline">
                                        <input id="c-images" data-rule="required" class="form-control"
                                               size="50" name="images" type="text"
                                               th:value="${ayi.images}">
                                        <span><button type="button" id="c-attachfile" class="btn btn-danger plupload"
                                                      data-input-id="c-images"

                                                      data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp" data-multiple="true"
                                                      data-preview-id="p-images"><i class="fa fa-upload"></i> 上传</button></span>
                                        <ul class="row list-inline plupload-preview" id="p-images"></ul>
                                    </div>
                                </div>
                            </div>
                            <div class="form-group hidden layer-footer">
                                <label class="control-label col-xs-12 col-sm-2"></label>
                                <div class="col-xs-12 col-sm-8">
                                    <button type="submit" class="btn btn-success btn-embossed disabled">确定</button>
                                    <button type="reset" class="btn btn-default btn-embossed">重置</button>
                                </div>
                            </div>
                        </form>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<div th:replace="common/script"></div>
</body>
</html>